/* 
 * Since 2008 - 2012
 */
package com.hh.bss.auth.vo.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.*;

import com.hh.bss.auth.dao.*;
import com.hh.bss.auth.entity.*;
import com.hh.bss.auth.service.*;
import com.hh.bss.auth.vo.query.*;
import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.util.*;





public class SystemResourceQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Integer id;
	/** 所属子系统 */
	private java.lang.Integer moduleId;
	/** 上级功能 */
	private java.lang.Integer parentId;
	/** 代码 */
	private java.lang.String resourceNbr;
	/** 名称 */
	private java.lang.String name;
	/** 入口url */
	private java.lang.String entryUrl;
	/** 状态 */
	private java.lang.String status;
	/** 是否显示 */
	private Integer visible;
	/** 显示顺序 */
	private Integer displayLevel;
	private Integer rootModuleId;
	private String childModuleIds;
	public String getChildModuleIds() {
		return childModuleIds;
	}

	public void setChildModuleIds(String childModuleIds) {
		this.childModuleIds = childModuleIds;
	}

	public Integer getRootModuleId() {
		return rootModuleId;
	}

	public void setRootModuleId(Integer rootModuleId) {
		this.rootModuleId = rootModuleId;
	}

	

	/** 功能说明 */
	private java.lang.String remark;

	public java.lang.Integer getId() {
		return this.id;
	}
	
	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.lang.Integer getModuleId() {
		return this.moduleId;
	}
	
	public void setModuleId(java.lang.Integer value) {
		this.moduleId = value;
	}
	
	public java.lang.Integer getParentId() {
		return this.parentId;
	}
	
	public void setParentId(java.lang.Integer value) {
		this.parentId = value;
	}
	
	public java.lang.String getResourceNbr() {
		return this.resourceNbr;
	}
	
	public void setResourceNbr(java.lang.String value) {
		this.resourceNbr = value;
	}
	
	public java.lang.String getName() {
		return this.name;
	}
	
	public void setName(java.lang.String value) {
		this.name = value;
	}
	
	public java.lang.String getEntryUrl() {
		return this.entryUrl;
	}
	
	public void setEntryUrl(java.lang.String value) {
		this.entryUrl = value;
	}
	
	public java.lang.String getStatus() {
		return this.status;
	}
	
	public void setStatus(java.lang.String value) {
		this.status = value;
	}
	
	public Integer getVisible() {
		return this.visible;
	}
	
	public void setVisible(Integer value) {
		this.visible = value;
	}
	
	public Integer getDisplayLevel() {
		return this.displayLevel;
	}
	
	public void setDisplayLevel(Integer value) {
		this.displayLevel = value;
	}
	
	public java.lang.String getRemark() {
		return this.remark;
	}
	
	public void setRemark(java.lang.String value) {
		this.remark = value;
	}
	
	private String field_type;
	private String query;

	public String getField_type() {
		return field_type;
	}

	public void setField_type(String file_type) {
		this.field_type = file_type;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}
        private String sort;
	private String dir;

        public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		
		this.sort = sort;
		if (!StringHelper.isEmpty(sort)&&!StringHelper.isEmpty(dir))
		  this.setSortColumns(sort+" "+dir);
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

